﻿using YoUI.Core.UIAnima;
using YoUI.Core;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class UIMain : YoBase
{
    public Button _LoginBtn;

    private void Start()
    {
        _LoginBtn = transform.Find("LoginButton").GetComponent<Button>();
        _LoginBtn.onClick.AddListener(OnLoginBtnClick);
        YoAudioMgr._.PlayBGM("bgm");
    }


    public void OnLoginBtnClick()
    {
        Yo._.Show("Login");
    }
}
